import { global_identity } from '../../../../../../../../../../../../../../global/Classes/cla_global_identity';
import { prop_cur_req_user_identity } from '../../../../../../../../../../../../Classes/cla_req_cur_headers_info';
import { req_info_music_score_upload } from '../../../../Classes/cla_req_info_music_score_upload';
import { typ_score_ext } from '../../../../Types';

const global_identity_upload_music_scoreTag =
  'global_identity_upload_music_score';

export class global_identity_upload_music_score extends global_identity {
  get [Symbol.toStringTag]() {
    return global_identity_upload_music_scoreTag;
  }

  constructor(cur_info: req_info_music_score_upload) {
    super(cur_info);

    this.id = cur_info.id;

    this.belong_user = cur_info[prop_cur_req_user_identity];

    this.ext = cur_info.ext;
  }

  /**
   * 身份 信息
   */
  id: string;

  /**
   * 隶属 用户
   */
  belong_user: string;

  ext: typ_score_ext;
}
